<!DOCTYPE HTML>
<html>
<head>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<title><?php bloginfo('name'); ?></title>
	<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<!-- PC Nav -->
<nav class="uk-navbar-container uk-visible@m" uk-navbar uk-sticky>		
	<div class="uk-navbar-left ">
		<a class="uk-navbar-item uk-logo" href="<?php echo esc_url(get_site_url()) ?>"><img src="<?php echo esc_url(get_template_directory_uri() . "/assets/img/logod.png") ?>" alt="<?php echo get_bloginfo("name") ?>" /></a>
        <!-- <a class="uk-navbar-item" href="<?php echo esc_url(get_site_url()) ?>/">首页</a> -->
		<?php
		wp_nav_menu( array( 
			'theme_location'=>'primary', 
			'walker' => new Uikit_Walker_Nav_Menu(),
			) );
        ?>
	</div>
</nav>
<!-- MOBI Nav -->
<nav class="uk-navbar uk-navbar-container uk-hidden@m " uk-sticky>
	<div class="uk-navbar-center">
		<a class="uk-navbar-item uk-logo" href="#">LOGO2</a>
	</div>
	<div class="uk-navbar-left">
		<a class="uk-navbar-toggle" uk-navbar-toggle-icon href="#m-nav" uk-toggle></a>
	</div>
	<div class="uk-navbar-right">
		<a class="uk-navbar-item " href="#modal-sections" uk-toggle>登陆</a>
		<div id="modal-sections" uk-modal>
			<div class="uk-modal-dialog">
				<button class="uk-modal-close-default" type="button" uk-close></button>
				<div class="uk-modal-header">
					<h2 class="uk-modal-title">用户中心</h2>
				</div>
				<div class="uk-modal-body">
		<form>
			<div class="uk-margin">
				<div class="uk-inline">
					<span class="uk-form-icon" uk-icon="icon: user"></span>
					<input class="uk-input" type="text">
				</div>
			</div>
			<div class="uk-margin">
				<div class="uk-inline">
					<span class="uk-form-icon" uk-icon="icon: lock"></span>
					<input class="uk-input" type="text">
				</div>
			</div>
		</form>
				</div>
				<div class="uk-modal-footer uk-text-right">
					<button class="uk-button uk-button-default uk-modal-close" type="button">登陆</button>
					<button class="uk-button uk-button-primary" type="button">退出</button>
				</div>
			</div>
		</div>
	</div>
</nav>
<!-- m-nav -->
<div id="m-nav" uk-offcanvas="overlay: true; mode: push">
	<div class="uk-offcanvas-bar" >
		<!-- <a class="uk-active" href="<?php echo esc_url(get_site_url()) ?>/">首页</a> -->
		<?php
		wp_nav_menu( array( 
			'theme_location'=>'mobile', 
			'walker' => new Uikit_Walker_Nav_Mobile_Menu(),
			) );
        ?>
	</div>
</div>
